<template>
  <view class="app bg-white">
    <mt-uparse :html="content" :preview="true" :selectable="true"></mt-uparse>
  </view>
</template>

<script lang="ts" setup>
  import mtUparse from '@/components/mt-uparse/mt-uparse.vue';
  import { ref } from 'vue';
  import { getAboutus as getDataApi } from '@/api/page/aboutus';
  import { report } from '@/utils/exception';

  const content = ref<string>('');
  getDataApi()
    .then((res) => {
      content.value = res.data;
    })
    .catch((err) => {
      report(err);
    });
</script>
